package org.nmgyjt.springboot.entity.refuge;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("refuge_info")
public class RefugeInfo {

  @TableId(type = IdType.ASSIGN_UUID)
  private String id;
  private String depId;
  private String refugeName;
  private String refugeType;
  private String address;
  private double coordinateX;
  private double coordinateY;

  private Double area;
  private Long peopleNum;
  private Long managerNum;
  private String state="0";

  @TableField(fill = FieldFill.INSERT)
  private Date createTime;

  @TableField(fill = FieldFill.INSERT_UPDATE)
  private Date updateTime;
  private String createId;
  private String createName;

  private String headName;
  private String depHead;
  private String orgHead;

  private String headPhone;
  private String depHeadPhone;
  private String orgHeadPhone;

  private String headId;
  private String depHeadId;
  private String orgHeadId;

  private String superDepartment;
  private String superDepartmentId;
  private String areaCode;
  private String refugeTypeCode;

  private String snycState;
  private String depSnycState;
  private String orgSnycState;

  @TableField(exist = false)
  private String createdBy;
  @TableField(exist = false)
  private String createdByOrg;
  private String firstJob;
  private String depJob;
  private String orgJob;


  public RefugeInfo() {
  }
}
